﻿using CanalService.EFCore;
using CanalService.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
using System.Data;

namespace CanalService.Services
{
    /// <summary>
    /// 
    /// </summary>
    public interface IUserInfoRepository
    {

        Task<UserInfo> GetUserInfoAsync();

        /// <summary>
        /// 写入数据
        /// </summary>
        /// <param name="userInfo"></param>
        /// <returns></returns>
        Task<bool> InsertUserInfoAsync(UserInfo userInfo);
    }
}
